<%@ page language="java" import="java.util.*" pageEncoding="UTF-8" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<jsp:include page="./include/header.jsp"/>

<div class="container">


    <div class="row one-part">
        <h2 class="">培训信息</h2>
        <p class="lead">培训信息介绍。</p>
        <hr class="half-rule">
        <c:choose>
            <c:when test="${trainList!= null}">
                <c:forEach var="train" items="${trainList}" varStatus="st">
                    <div class="col-sm-4 one-part-sub">
                        <img src="${train.showImage}"
                             alt="Sass and Less support" style="width: 350px;height: 250px;">
                        <h3>${train.title}</h3>
                        <h6>${train.createTime}</h6>
                        <p>简介：${train.trainDesc}</p>
                        <p>详情：${train.detail}</p>
                            <%--                        <p>${train.trainType}</p> op/queryTree/jwfx.json--%>
                    </div>
                </c:forEach>
            </c:when>
            <c:otherwise>
                <li>没有查询到培训信息</li>
            </c:otherwise>
        </c:choose>
    </div>
    <hr class="half-rule">

    <div class="row one-part">
        <h2 class="">就业工作信息</h2>
        <p class="lead">就业工作信息介绍。</p>
        <hr class="half-rule">
        <c:choose>
            <c:when test="${jobList!= null}">
                <c:forEach var="job" items="${jobList}" varStatus="st">
                    <div class="col-sm-4 one-part-sub">
                        <h3>公司：${job.workCompany}</h3>
                        <p>职位：${job.workJob}</p>
                        <p> ${job.workProvince}-${job.workCity}-${job.workCountry}-${job.workAddrDetail}</p>
                        <p>薪资：${job.workSalary}</p>
                        <p>岗位要求：${job.gwyq}</p>
                            <%--                        <input type="text" class="form-control cnoj-input-tree"--%>
                            <%--                               disabled--%>
                            <%--                               data-uri="op/queryTree/jwfx.json" data-is-show-none="yes"--%>
                            <%--                               value="${job.zyfx }"/>--%>

                            <%--                        <input type="text" class="form-control cnoj-input-tree"--%>
                            <%--                               disabled--%>
                            <%--                               data-uri="op/queryTree/YES_OR_NO.json" data-is-show-none="yes"--%>
                            <%--                               value="${job.wxFlag }"/>--%>

                            <%--                        <input type="text" class="form-control cnoj-input-tree"--%>
                            <%--                               disabled--%>
                            <%--                               data-uri="op/queryTree/YES_OR_NO.json" data-is-show-none="yes"--%>
                            <%--                               value="${job.gjjFlag }"/>--%>

                    </div>
                </c:forEach>
            </c:when>
            <c:otherwise>
                <li>没有查询到找工作信息</li>
            </c:otherwise>
        </c:choose>
    </div>
    <hr class="half-rule">
</div>

<div class="row one-part">
    <jsp:include page="./include/footer.jsp"/>


    <script type="text/javascript">
        $(document).ready(function () {
            // setTimeout('initEvent()', 300);
        })
    </script>


    <style>
        .one-part {
            margin: 30px auto 40px auto;
        }

        .one-part-sub {
            height: 400px;
            overflow: hidden;
        }

        .container {
            position:absolute;
            top:10%;
            height: 90%;
            width: 90%;
            margin: 0 5%;
            overflow:auto;
            z-index:1;
        }


        .footer {
            position:absolute;
            bottom:0px;
            width:100%;
            height:60px;
            text-align:center;
            background-color: #e0e0e0;
            z-index:2;
            overflow:hidden;
        }
    </style>
